package com.itjiange.reglg.model.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 邮件信息
 *
 * @author ItJiange
 * @date 2023/11/13
 */
@Data
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "email")
public class MyEmail {
    private String host;
    private int port;
    private String from;
    private String user;
    private String pass;
}
